﻿#ifndef _ICONV_STRING_H_
#define _ICONV_STRING_H_

#include <string>
#include <string.h>

void code_convert_init();

void code_convert_destroy();

std::string utf8togbk(char src[]);

std::string gbktoutf8(char src[]);

std::string utf8togbk(const char* src);

std::string gbktoutf8(const char* src);

bool IsLegitimateChrName(const char* name);
bool IsLegitimateAccountName(const char* name);
bool IsAllNum(const char* str);

#endif
